package com.scau.service.impl;

import java.util.List;

import com.scau.dao.ISaleOrderItemDao;
import com.scau.service.ISaleOrderItemService;
import com.scau.vo.SaleOrderItem;

/**
 * @author Jinglun
 * @create 2017年4月22日
 */
public class SaleOrderItemServiceImpl implements ISaleOrderItemService {

	private ISaleOrderItemDao saleOrderItemDao;
	
	@Override
	public boolean saveSerSaleOrderItem(SaleOrderItem saleOrderItem) {
		return saleOrderItemDao.saveSerSaleOrderItem(saleOrderItem);
	}
	
	@Override
	public boolean saveProSaleOrderItem(SaleOrderItem saleOrderItem) {
		return saleOrderItemDao.saveProSaleOrderItem(saleOrderItem);
	}

	@Override
	public List<SaleOrderItem> listSaleOrderItem() {
		// TODO Auto-generated method stub
		return null;
	}
	
	/*
	 * (non-Javadoc)
	 * @see com.scau.service.ISaleOrderItemService#getDebtsItem(java.lang.String)
	 */
	@Override
	public List<SaleOrderItem> getDebtsItem(String saleOrderNo) {
		return saleOrderItemDao.getDebtsItem(saleOrderNo);
	}

	
	// get set method
	public ISaleOrderItemDao getSaleOrderItemDao() {
		return saleOrderItemDao;
	}

	public void setSaleOrderItemDao(ISaleOrderItemDao saleOrderItemDao) {
		this.saleOrderItemDao = saleOrderItemDao;
	}

}
